import { Behavior } from '../behavior.js'; // 导入 Behavior 类

class CreateObjectBehavior extends Behavior {
    constructor(priority, objectConfig) {
        super(priority);
        this.objectConfig = objectConfig; // 要创建的物体配置信息
    }

    execute() {
        // 创建物体的逻辑
        console.log("Creating object with config:", this.objectConfig);
    }
}

export default CreateObjectBehavior;